package org.jackysoft.entity;

import java.io.Serializable;

import javax.persistence.Embeddable;


@Embeddable
public class WorkflowSettingPK implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -2660215303152836107L;

	private String name;

	private Long stepId;
	
	private Integer actionId=-1;

	
	
	
	public WorkflowSettingPK() {
		
	}
	

	public WorkflowSettingPK(String name, Long stepId, Integer actionId) {
		this.setName(name);
		this.stepId = stepId;
		this.actionId = actionId;
	}


	public Long getStepId() {
		return stepId;
	}

	public void setStepId(Long stepId) {
		this.stepId = stepId;
	}

	public void setActionId(Integer actionId) {
		this.actionId = actionId;
	}

	public Integer getActionId() {
		return actionId;
	}


	public void setName(String name) {
		name = org.jackysoft.util.StringUtils.trim(name);
		this.name = name;
	}


	public String getName() {
		return org.jackysoft.util.StringUtils.trim(name);
	}
	
}
